package com.aceitunaproject.clientinterface.eventadapters;
import java.util.List;
import com.aceitunaproject.clientinterface.eventregistering.HelloWorldResponseHandler;
import com.aceitunaproject.shared.message.Message;
import com.aceitunaproject.shared.message.hello.HelloWorldResponse;


/**
 * Adapter for the HelloWorldResponse event handler
 */
public class HelloWorldResponseReceivedAdapter extends BasicAceitunaEventAdapter {
	public HelloWorldResponseReceivedAdapter(List<Object> handlers) {
		super(handlers);
	}

	public HelloWorldResponseReceivedAdapter() {
	}

	@Override
	void triggerInHandler(Object handler, Message message) {
		((HelloWorldResponseHandler) handler)
				.helloWorldResponseReceived((HelloWorldResponse) message);
	}

}